<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>查看商品</title>
    <link rel="stylesheet" href="../frame/layui/css/layui.css">
    <link rel="stylesheet" href="../frame/static/css/style.css">
    <link rel="icon" href="../frame/static/image/code.png">
</head>
<body class="body">
	<table class="layui-table">
    <colgroup>
        <col width="150">
        <col width="150">
        <col width="200">
        <col>
    </colgroup>
    <thead>
    <tr>
        <th>商品编号</th>
        <th>商品名字</th>
        <th>商品价格</th>
        <th>商品数量</th>
        <th>创建日期</th>
        <th>商品描述</th>
        <th>操　　 作</th>
    </tr>
    </thead>
    <tbody>
	    <c:forEach var="goods" items="${list }">
	        <tr>
		        <td>${goods.goodsNumber}</td>
		        <td>${goods.goodsName}</td>
		        <td>${goods.goodsPrice}</td>
		        <td>${goods.number}</td>
		        <td>${goods.creatTime}</td>
		        <td>${goods.goodsIntroduce}</td>
		        <td><a href="../goods/changeGoods.action?goodsId=${goods.goodsId}">修改</a>　　<a href="../goods/delectGoods.action?goodsnum=${goods.goodsNumber}">删除</a></td>
		    </tr>
	     </c:forEach>
    </tbody>
</table>
</body>
</html>